package com.SuanFa.lanqiao;

import java.util.Arrays;

public class a6 {
    public static void main(String[] args) {
        String str = "abcdefghijklmnopqrs";
        char[] ch = new char[2014];
        for (int i = 0; i < 2014; i++) {
            ch[i] = str.charAt(i % 19);
        }
        int templength = 2014;
        while (templength > 1) {
            char[] tempCh = new char[templength/2+1];
            int temp = 0;
            for (int i = 0; i < ch.length; i += 2) {
                tempCh[temp] = ch[i];
                temp++;
            }
            ch = tempCh;
            templength=temp;
        }
        System.out.println(ch[0]);
    }
}
